package com.wf.day_0608.test5;import java.util.concurrent.*;/** * @author mpk * @since 2024/6/9 14:22:26 */public class MyExecutorService {    public static void main(String[] args) {        ExecutorService executorService = new ThreadPoolExecutor(                3                ,                6,                60                ,                TimeUnit.SECONDS                ,                new ArrayBlockingQueue<>(3)                ,                Executors.defaultThreadFactory()                ,                new ThreadPoolExecutor.AbortPolicy()        );        System.out.println(Runtime.getRuntime().availableProcessors());    }}